package com.atguigu.Spring5;

/**
 * @Author xiao hu die
 * @Date 2022/3/28 15:57
 * @Version 1.0
 */
public class User {
 private  String name;

 public String getName() {
  return name;
 }

 public void setName(String name) {
  this.name = name;
 }

 public User(String name) {
  this.name = name;
 }

 public void add(){
  System.out.println("add.....");
 }

 public User() {
  System.out.println("User的无参构造");
 }
}
